package cn.buildworld.touching.dao;

import cn.buildworld.touching.pojo.po.OsCategory;
import cn.buildworld.touching.pojo.po.OsCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsCategoryMapper {
    int countByExample(OsCategoryExample example);

    int deleteByExample(OsCategoryExample example);

    int deleteByPrimaryKey(Long categoryId);

    int insert(OsCategory record);

    int insertSelective(OsCategory record);

    List<OsCategory> selectByExample(OsCategoryExample example);

    OsCategory selectByPrimaryKey(Long categoryId);

    int updateByExampleSelective(@Param("record") OsCategory record, @Param("example") OsCategoryExample example);

    int updateByExample(@Param("record") OsCategory record, @Param("example") OsCategoryExample example);

    int updateByPrimaryKeySelective(OsCategory record);

    int updateByPrimaryKey(OsCategory record);
}